// this is a map type
var mtMapMaker = new google.maps.ImageMapType({
  name: 'MM Map',
  alt: 'MapMaker Road Maps',
  getTileUrl: function(coord, zoom) {
    return "http://gt" + ((coord.x+3*coord.y)%4) + ".google.com/mt/n=404&v=gwm.fresh&x=" +
      (coord.x&((1<<zoom)-1)) + "&y=" + coord.y + "&z=" + zoom;
  },
  minZoom: 1,
  maxZoom: 19,
  tileSize: new google.maps.Size(256, 256),
  isPng: false
});

// this is a layer
var lMapMakerHyb = new google.maps.ImageMapType({
  getTileUrl: function(coord, zoom) {
    return "http://gt" + ((coord.x+3*coord.y)%4) + ".google.com/mt/n=404&v=gwh.fresh&x=" +
      coord.x + "&y=" + coord.y + "&z=" + zoom;
  },
  minZoom: 0,
  maxZoom: 19,
  tileSize: new google.maps.Size(256, 256),
  isPng: true
});

